package main

import (
	"order/appconfig"
	"order/models"
	"order/router"
)

func main() {

	//加载配置
	appconfig.Init()
	//连接mysql
	models.Init()
	//运行项目

	r := router.Init()
	r.Run(":8080")
}
